package com.prosay.mvc.controller;

import com.prosay.mvc.BaseController;
import com.prosay.mvc.annotation.Controller;
import com.prosay.mvc.annotation.RequestMapping;

@Controller
@RequestMapping("/java")
public class IndexController extends BaseController{

	@RequestMapping("/index")
	public String index(){
		System.out.println("index方法进行了很复杂复杂的业务逻辑处理："+request.getParameter("name"));
		return "index";
	}
	@RequestMapping("/searech")
	public String searech(){
		System.out.println("searech方法进行了很复杂复杂的业务逻辑处理：");
		return "searech";
	}
	@RequestMapping("update")
	public String update(){
		System.out.println("update方法进行了很复杂复杂的业务逻辑处理：");
		return "update";
	}
	@RequestMapping("delete")
	public String delete(){
		System.out.println("delete方法进行了很复杂复杂的业务逻辑处理：");
		return "delete";
	}
}
